/* 页面特有样式 */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  .search-box {
    display: flex;
    gap: 8px;
  }
  
  .search-input {
    padding: 8px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 14px;
    width: 200px;
    transition: border-color 0.3s ease;
  }
  
  .search-input:focus {
    outline: none;
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  }
  
  .search-btn {
    background: #1890ff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
  }
  
  .search-btn:hover {
    background: #40a9ff;
  }
  
  .filter-tabs {
    display: flex;
    gap: 8px;
  }
  
  .tab-btn {
    padding: 8px 16px;
    background: white;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
  }
  
  .tab-btn:hover {
    border-color: #1890ff;
    color: #1890ff;
  }
  
  .tab-btn.active {
    background: #1890ff;
    border-color: #1890ff;
    color: white;
  }
  
  .status-filters {
    display: flex;
    gap: 8px;
    margin-left: 16px;
  }
  
  .status-btn {
    padding: 8px 16px;
    background: white;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
  }
  
  .status-btn:hover {
    border-color: #52c41a;
    color: #52c41a;
  }
  
  .status-btn.active {
    background: #52c41a;
    border-color: #52c41a;
    color: white;
  }
  
  /* 状态说明样式 */
  .status-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff7e6;
    border: 1px solid #ffd591;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
  }
  
  .info-icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
  }
  
  .info-text {
    color: #d46b08;
    font-size: 14px;
    line-height: 1.5;
  }
  
  .info-text strong {
    color: #ad4e00;
  }
  
  /* 表格样式 */
  .user-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .user-table table {
    width: 100%;
    border-collapse: collapse;
  }
  
  .user-table th {
    background: #fafafa;
    padding: 16px 12px;
    text-align: left;
    font-weight: 600;
    color: #262626;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
  }
  
  .user-table td {
    padding: 16px 12px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #666;
  }
  
  .user-row:hover {
    background: #f8f9fa;
  }
  
  .clickable-row {
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .clickable-row:hover {
    background: #e6f7ff !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .avatar-placeholder {
    width: 100%;
    height: 100%;
    background: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    color: #666;
  }
  
  .user-name {
    font-weight: 500;
    color: #262626 !important;
  }
  
  .user-type-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    color: white;
  }
  
  .user-type-badge.teacher {
    background: #1890ff;
  }
  
  .user-type-badge.student {
    background: #52c41a;
  }
  
  .user-id {
    font-family: monospace;
    color: #1890ff !important;
  }
  
  .status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    color: white;
  }
  
  .status-badge.pending {
    background: #faad14;
    color: white;
  }
  
  .status-badge.approved {
    background: #52c41a;
    color: white;
  }
  
  .status-badge.rejected {
    background: #ff4d4f;
    color: white;
  }
  
  
  .status-badge.active {
    background: #52c41a;
    color: white;
  }
  
  .status-badge.inactive {
    background: #999;
    color: white;
  }
  
  .status-badge.unknown {
    background: #d9d9d9;
    color: #666;
  }
  
  .create-time {
    font-size: 12px !important;
    color: #999 !important;
  }
  
  .user-actions {
    display: flex;
    gap: 8px;
  }
  
  .user-actions button {
    padding: 4px 8px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
  }
  
  .activate-btn {
    background: #52c41a;
    color: white;
  }
  
  .activate-btn:hover:not(:disabled) {
    background: #73d13d;
  }
  
  .deactivate-btn {
    background: #ff4d4f;
    color: white;
  }
  
  .deactivate-btn:hover:not(:disabled) {
    background: #ff7875;
  }
  
  .detail-btn {
    background: #1890ff;
    color: white;
  }
  
  .detail-btn:hover {
    background: #40a9ff;
  }
  
  .edit-btn {
    background: #faad14;
    color: white;
  }
  
  .edit-btn:hover {
    background: #ffc53d;
  }
  
  .user-actions button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
  }
  
  /* 详情弹窗样式 */
  .detail-content {
    max-height: 60vh;
    overflow-y: auto;
  }
  
  .detail-section {
    margin-bottom: 24px;
  }
  
  .detail-section h4 {
    margin: 0 0 16px 0;
    color: #262626;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 8px;
  }
  
  .detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
  }
  
  .detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .detail-item label {
    font-weight: 500;
    color: #666;
    min-width: 80px;
    margin: 0;
  }
  
  .detail-item span {
    color: #262626;
  }
  
  /* 确认弹窗按钮样式 */
  .confirm-btn.activate {
    background: #52c41a;
  }
  
  .confirm-btn.activate:hover:not(:disabled) {
    background: #73d13d;
  }
  
  .confirm-btn.deactivate {
    background: #ff4d4f;
  }
  
  .confirm-btn.deactivate:hover:not(:disabled) {
    background: #ff7875;
  }
  
  /* 响应式设计 */
  @media (max-width: 1200px) {
    .user-table {
      overflow-x: auto;
    }
  
    .user-table table {
      min-width: 1000px;
    }
  }
  
  @media (max-width: 768px) {
    .header-actions {
      flex-direction: column;
      align-items: flex-start;
      gap: 12px;
    }
  
    .search-box {
      width: 100%;
    }
  
    .search-input {
      flex: 1;
    }
  
    .filter-tabs {
      width: 100%;
      justify-content: space-between;
    }
  
    .tab-btn {
      flex: 1;
      text-align: center;
    }
  
    .detail-grid {
      grid-template-columns: 1fr;
    }
  }
  
  /* 编辑弹窗样式 */
  .edit-modal {
    max-width: 600px;
    width: 90%;
  }
  
  .form-section {
    margin-bottom: 24px;
  }
  
  .form-section h4 {
    margin: 0 0 16px 0;
    color: #262626;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 8px;
  }
  
  .form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
  }
  
  .form-item {
    display: flex;
    flex-direction: column;
  }
  
  .form-item label {
    margin-bottom: 8px;
    color: #262626;
    font-weight: 500;
    font-size: 14px;
  }
  
  .form-item input {
    padding: 8px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
  }
  
  .form-item input:focus {
    outline: none;
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  }
  
  .skills-section {
    margin-top: 16px;
  }
  
  .skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .skill-tag {
    padding: 6px 12px;
    background: #f5f5f5;
    border: 1px solid #d9d9d9;
    border-radius: 16px;
    cursor: pointer;
    font-size: 12px;
    color: #333 !important;
    transition: all 0.3s ease;
    user-select: none;
    min-height: 24px;
    line-height: 1.2;
  }
  
  .skill-tag:hover {
    border-color: #1890ff;
    color: #1890ff !important;
  }
  
  .skill-tag.active {
    background: #1890ff;
    border-color: #1890ff;
    color: white !important;
  }
  
  .confirm-btn.save {
    background: #52c41a;
  }
  
  .confirm-btn.save:hover:not(:disabled) {
    background: #73d13d;
  }
  
  /* 技能显示样式 */
  .skills-display {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
  }
  
  .skill-badge {
    display: inline-block;
    padding: 6px 12px;
    background: linear-gradient(135deg, #e6f7ff 0%, #f0f9ff 100%);
    border: 1px solid #91d5ff;
    border-radius: 16px;
    font-size: 13px;
    color: #1890ff !important;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(24, 144, 255, 0.1);
    min-height: 24px;
    line-height: 1.2;
  }
  
  .skill-badge:hover {
    background: linear-gradient(135deg, #bae7ff 0%, #e6f7ff 100%);
    border-color: #40a9ff;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(24, 144, 255, 0.2);
  }
  
  .no-skills {
    color: #999;
    font-style: italic;
    padding: 8px 0;
  }